package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Created by ky on 2019/7/25.
 */

public class TypesofViolationBean {


    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":83,"adId":null,"toAdId":null,"vttName":"超速（重庆）","mark":1,"courseNo":7,"courseLength":50,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":84,"adId":null,"toAdId":null,"vttName":"疲劳驾驶","mark":1,"courseNo":0,"courseLength":null,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":85,"adId":null,"toAdId":null,"vttName":"闯红灯（重庆）","mark":1,"courseNo":0,"courseLength":null,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":15,"adId":null,"toAdId":null,"vttName":"逆向行驶","mark":1,"courseNo":9,"courseLength":65,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":18,"adId":null,"toAdId":null,"vttName":"11","mark":1,"courseNo":2,"courseLength":15,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":11,"adId":null,"toAdId":null,"vttName":"闯红灯（渝中）","mark":1,"courseNo":8,"courseLength":60,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":12,"adId":null,"toAdId":null,"vttName":"超速（渝中）","mark":1,"courseNo":7,"courseLength":50,"vttSn":null,"uvtSn":null,"resultCode":null},{"sn":13,"adId":null,"toAdId":null,"vttName":"违章停车","mark":1,"courseNo":7,"courseLength":50,"vttSn":null,"uvtSn":null,"resultCode":null}]
     * total : 8
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 83
         * adId : null
         * toAdId : null
         * vttName : 超速（重庆）
         * mark : 1
         * courseNo : 7
         * courseLength : 50
         * vttSn : null
         * uvtSn : null
         * resultCode : null
         */

        private int sn;
        private Object adId;
        private Object toAdId;
        private String vttName;
        private int mark;
        private int courseNo;
        private int courseLength;
        private Object vttSn;
        private Object uvtSn;
        private Object resultCode;

        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public Object getAdId() {
            return adId;
        }

        public void setAdId(Object adId) {
            this.adId = adId;
        }

        public Object getToAdId() {
            return toAdId;
        }

        public void setToAdId(Object toAdId) {
            this.toAdId = toAdId;
        }

        public String getVttName() {
            return vttName;
        }

        public void setVttName(String vttName) {
            this.vttName = vttName;
        }

        public int getMark() {
            return mark;
        }

        public void setMark(int mark) {
            this.mark = mark;
        }

        public int getCourseNo() {
            return courseNo;
        }

        public void setCourseNo(int courseNo) {
            this.courseNo = courseNo;
        }

        public int getCourseLength() {
            return courseLength;
        }

        public void setCourseLength(int courseLength) {
            this.courseLength = courseLength;
        }

        public Object getVttSn() {
            return vttSn;
        }

        public void setVttSn(Object vttSn) {
            this.vttSn = vttSn;
        }

        public Object getUvtSn() {
            return uvtSn;
        }

        public void setUvtSn(Object uvtSn) {
            this.uvtSn = uvtSn;
        }

        public Object getResultCode() {
            return resultCode;
        }

        public void setResultCode(Object resultCode) {
            this.resultCode = resultCode;
        }
    }
}
